package mx.com.mindbits.bandpay.utils;

import mx.com.mindbits.emvcardreader.usbinterface.CardCommands;
import mx.com.mindbits.emvcardreader.vo.EMVdata;
import android.hardware.usb.UsbDevice;

public class ConstantsValues {
	//DRAWVIEW
	public static final String TAG_DRAWVIEW = "DrawView";
	public static final int COL_MODE = 7;
	public static final int WID_MODE = 5;
	//PAYSERVICE
	public final static int TIEMPO_ESPERA_POSICION = 3000; //Milisegundos
	/////TAESERVICE
	public static final String LOG_TAE_SERVICE_ACTIVITY = "TAE_SERVICE_ACTIVITY";
	public static final String SIN_TELEFONO  = "0000000000";
	////transactionItemAdapter
	public static final String FORMATO_FECHA_ES = "dd/MM/yyyy";
	////transactionBussiness
	public static final double  MONTO_RECARGA = 2.00;
	/// TransactionDetailFragment
	public static final int  STATUS_PROCESADO = 00;
	public static final int STATUS_TRANS_EFEC = 99;
	/// TransactionMapFragment
	public static final int ZOOM_MAP = 15;
	public static final int DURATION_ANIMATE_MS = 2000;
	public static final int ZOOM_CAMERA = 16;
	
	////GPSTracker
	// The minimum distance to change Updates in meters
	public static final long MIN_DISTANCE_CHANGE_FOR_UPDATES = 10; // 10 meters
	// The minimum time between updates in milliseconds
	public static final long MIN_TIME_BW_UPDATES = 1000 * 60 * 1; // 1 minute
	//////HTTPConnector
	public static final int LENGTH_STREAM = 10000;
	public static final int READ_TIME_OUT = 30000;
	public static final int CONNECTION_TIME_OUT = 20000;
	public static final int CODE_SERVER_ERROR = 0;
	/// LayoutToImg
	public static final int QUALITY_COMPRESS = 90;
	///////ShakeDetector
	// Indexes for x, y, and z values
    public static final int X = 0;
    public static final int Y = 1;
    public static final int Z = 2;
	// Minimum acceleration needed to count as a shake movement
    public static final int MIN_SHAKE_ACCELERATION = 5;
    // Minimum number of movements to register a shake
    public static final int MIN_MOVEMENTS = 2;
    // Maximum time (in milliseconds) for the whole shake to occur
    public static final int MAX_SHAKE_DURATION = 500;
    
    //PropertiesBP
	public final static String LOG_PROPERTIESBP = "PropertiesBP";

	public final static String TAG_MENU = "MENU DE OPCIONES";
	public final static String TAG_READER = "LECTURA DE TARJETA";
	public final static String TAG_PAYFORM = "FORMATO DE PAGO:";
	public final static String TAG_TAEFORM = "FORMATO DE RECARGAS TAE:";
	public final static String TAG_MAILSEND = "ENVIO DE MAIL:";
	public final static String TAG_DRAWSIGN = "FIRMA AUTOGRAFA:";
	public final static String TAG_DRAWVOUCHER = "VOUCHER DIGITAL:";
	public final static String TAG_DIGITALSIGN = "FIRMADIGITAL:";
	public final static String TAG_DAO = "OPERACIONES SQLITE:";
	public final static String TAG_UTILS = "UTILS:";
	public final static String TAG_WEB_SERVICE_TASK = "TRANSACTION WEB SERVICE TASK";
	public final static String TAG_BUISNESS_PROCESS = "PROCESO DE NEGOCIO";
	public final static String TAG_TRANS_HISTORY = "HISTORICO DE TRANSACCIONES";
	public final static String TAG_TRANS_DETAIL_HISTORY = "DETALLE DE TRANSACCION";
	public final static String TAG_TRANS_DETAIL_MAP = "MAPA";
	public final static String ACTION_USED = "ACTION_SELECTED";
	public final static String ACTION_ATTACHED = "ATTACHED_ACTION";	
	
	//public final static String URL_BRIDGE = "http://mobilecard.mx:8080/MindbitsBridge/";
	public final static String ACTION_USB_PERMISION = "com.android.example.USB_PERMISSION";
	public final static int CARD_ABSENT = 1;
	public final static int WRONG_CARD_POSITION = 2;
	
	public final static String MW_TRANSACTION_STORED_SUCCESS = "00";
	public final static String MW_TRANSACTION_STORED_ERROR = "99";
	public final static String MW_TRANSACTION_STORED_DEFAULT = "-1";
	
	public final static int TRANSACTION_SUCCESS = 0;
	public final static int TRANSACTION_ERROR = 99;
	public final static int TRANSACTION_DEFAULT = -1;
	public static String MOUNT_PURCHASE = "";
	
	public final static String RECARGA_TAE = "Recarga TAE";
	
	public static CardCommands tarjeta;
	public static UsbDevice dispositivo;
	public static EMVdata dataEMV;
	
	public static boolean WAS_ON_PAUSE = false;
	public static boolean REQUEST_SENDED = false;
	public static boolean DEVICE_ALREADY_ATTACHED = false;
	
	///////UTILS
	public static final String LABEL_PAGO_GENERICO = "Pago generico";
	////
	public static final String URL_ENCODE = "7vMFdSf5rJNV/l5LAdKqkmTuZ94+0Eopy4S0tF4EZc7+WlLtFTvT0c26Qb8zXfmh";
	public static final String AFILIACION = "0GUgpjf9zok=";
	public static final String ID_USER = "st728IEPprbxbx1wSL0iiQ==";
	public static final String LOGIN="ZQB7SqpADoAbRwn9IKaGtQ==";
	public static final String USER = "/PD5MUqbVlIbRwn9IKaGtQ==";
	/////smpt
	public static final String PORT_GMAIL="465";
	public static final String SMTP_GMAIL = "smtp.gmail.com";
	public static final String PORT_HOTMAIL = "25";// "25";//"465"; //587
	public static final String SMTP_HOTMAIL = "smtp.live.com";
	public static final String PORT_YAHOO = "25";
	public static final String SMTP_YAHOO = "smtp.mail.yahoo.com";
	///// datos empresa
	public static final String ADDRESS_COMPANY= "Montecito #11, PH 4, Benito Juarez, Col. Napoles, Mexico D.F., C.P. 00072";
	
	
	
}
